package net.minecraft.src;

public abstract class GenLayerPPH extends GenLayer
{

	public GenLayerPPH(long l)
	{
		super(l);
	}

    public static GenLayer[] func_35497_a(long l)
    {
    	GenLayer obj = new LayerIsland(1L);
        obj = new GenLayerZoomFuzzy(2000L, ((GenLayer) (obj)));
        obj = new GenLayerIsland(1L, ((GenLayer) (obj)));
        obj = new GenLayerZoom(2001L, ((GenLayer) (obj)));
        obj = new GenLayerIsland(2L, ((GenLayer) (obj)));
        obj = new GenLayerZoom(2002L, ((GenLayer) (obj)));
        obj = new GenLayerIsland(3L, ((GenLayer) (obj)));
        obj = new GenLayerZoom(2003L, ((GenLayer) (obj)));
        obj = new GenLayerIsland(3L, ((GenLayer) (obj)));
        obj = new GenLayerZoom(2004L, ((GenLayer) (obj)));
        obj = new GenLayerIsland(3L, ((GenLayer) (obj)));
        byte byte0 = 4;
        GenLayer obj1 = obj;
        obj1 = GenLayerZoom.func_35515_a(1000L, ((GenLayer) (obj1)), 0);
        obj1 = new GenLayerRiverInit(100L, ((GenLayer) (obj1)));
        obj1 = GenLayerZoom.func_35515_a(1000L, ((GenLayer) (obj1)), byte0 + 2);
        obj1 = new GenLayerPPHRiver(1L, ((GenLayer) (obj1)));
        obj1 = new GenLayerSmooth(1000L, ((GenLayer) (obj1)));
        GenLayer obj2 = obj;
        obj2 = GenLayerZoom.func_35515_a(1000L, ((GenLayer) (obj2)), 0);
        obj2 = new GenLayerPPHBiomes(200L, ((GenLayer) (obj2)));
        obj2 = GenLayerZoom.func_35515_a(1000L, ((GenLayer) (obj2)), 2);
        GenLayer obj3 = new GenLayerTemperature(((GenLayer) (obj2)));
        GenLayer obj4 = new GenLayerDownfall(((GenLayer) (obj2)));
        for(int i = 0; i < byte0; i++)
        {
            obj2 = new GenLayerZoom(1000 + i, ((GenLayer) (obj2)));
            if(i == 0)
            {
                obj2 = new GenLayerIsland(3L, ((GenLayer) (obj2)));
            }
            obj3 = new GenLayerSmoothZoom(1000 + i, ((GenLayer) (obj3)));
            obj3 = new GenLayerTemperatureMix(((GenLayer) (obj3)), ((GenLayer) (obj2)), i);
            obj4 = new GenLayerSmoothZoom(1000 + i, ((GenLayer) (obj4)));
            obj4 = new GenLayerDownfallMix(((GenLayer) (obj4)), ((GenLayer) (obj2)), i);
        }

        obj2 = new GenLayerSmooth(1000L, ((GenLayer) (obj2)));
        obj2 = new GenLayerPPHOcean(100L, ((GenLayer) (obj2)), ((GenLayer) (obj1)));
        obj3 = GenLayerSmoothZoom.func_35517_a(1000L, ((GenLayer) (obj3)), 2);
        obj4 = GenLayerSmoothZoom.func_35517_a(1000L, ((GenLayer) (obj4)), 2);
        GenLayerZoomVoronoi genlayerzoomvoronoi = new GenLayerZoomVoronoi(10L, ((GenLayer) (obj2)));
        ((GenLayer) (obj2)).func_35496_b(l);
        ((GenLayer) (obj3)).func_35496_b(l);
        ((GenLayer) (obj4)).func_35496_b(l);
        genlayerzoomvoronoi.func_35496_b(l);
        return (new GenLayer[] {
            obj2, genlayerzoomvoronoi, obj3, obj4
        });
    }
}
